html,
body {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
}

input {
	flex: 1;
	border: 2rpx solid #ccc;
	padding: 10rpx;
}

button {
	margin-left: 20rpx;
}

.send-box {
	height: 130rpx;
	padding: 14rpx 18rpx;
	flex-shrink: 0;
	width: 100%;
	background: #FAFAFA;
	backdrop-filter: blur(0.27rem);
	display: flex;
	align-items: center;
	max-width: 1354rpx;
	box-sizing: border-box;
}

.send-box__input {
	width: 80%;
	height: 1.6rem;
	background: white;
	border: 0;
	outline: none;
	padding: 0.2rem 0.4rem;
	font-size: 0.7rem;
	margin-right: 0.3rem;
	border-radius: 0.2rem;
	-webkit-border-radius: 0.2rem;
	-moz-border-radius: 0.2rem;
	-ms-border-radius: 0.2rem;
	-o-border-radius: 0.2rem;
}

.send-box__input::placeholder {
	color: #999;
	font-size: 28rpx;
}

.send-box__btn {
	width: 250rpx;
	font-size: 0.7rem;
	text-align: center;
	color: #fff;
	background-color: #09bb07;
	height: 1.9rem;
	line-height: 1.9rem;
	border-radius: 0.2rem;
	-webkit-border-radius: 0.2rem;
	-moz-border-radius: 0.2rem;
	-ms-border-radius: 0.2rem;
	-o-border-radius: 0.2rem;
}

.game-container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 100vw;
	background-color: black;
	margin: 0;
	padding: 0;
}

.score-board {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30rpx 0;
	background-color: #1a1a1a;
	border-radius: 20rpx;
	margin: 20rpx;
	box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.3);
}

.team {
	display: flex;
	align-items: center;
	padding: 0 30rpx;
}

.red-team {
	flex-direction: row;
}

.blue-team {
	flex-direction: row-reverse;
}

.team-name {
	font-size: 32rpx;
	font-weight: bold;
	padding: 0 16rpx;
}

.red-team .team-name {
	color: #ff4d4f;
}

.blue-team .team-name {
	color: #1890ff;
}

.team-score {
	font-size: 48rpx;
	font-weight: bold;
	min-width: 60rpx;
	text-align: center;
	background: #333;
	padding: 10rpx 20rpx;
	border-radius: 10rpx;
	margin: 0 10rpx;
	color: white;
}

.vs {
	font-size: 28rpx;
	color: #aaa;
	padding: 0 20rpx;
	font-style: italic;
}

.danmu {
	position: absolute;
	white-space: nowrap;
	padding: 8rpx 24rpx;
	font-size: 28rpx;
	font-weight: bold;
	text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.3);
	box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2);
	line-height: 1.4;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 0;
}

.danmu[style*="color:red"] {
	width: 110rpx;
	background: linear-gradient(135deg, #ff7e7e, #ff4d4f);
	border: 2rpx solid #ff1a1a;
	color: white !important;
}

.danmu[style*="color:red"]::after {
	content: "";
	position: absolute;
	right: -30rpx;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 30rpx solid transparent;
	border-bottom: 30rpx solid transparent;
	border-left: 30rpx solid #ff4d4f;
}

.danmu[style*="color:blue"] {
	width: 110rpx;
	background: linear-gradient(135deg, #1890ff, #7eb8ff);
	border: 2rpx solid #096dd9;
	color: white !important;
}

.danmu[style*="color:blue"]::before {
	content: "";
	position: absolute;
	left: -30rpx;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 30rpx solid transparent;
	border-bottom: 30rpx solid transparent;
	border-right: 30rpx solid #1890ff;
}

.lane {
	flex: 1;
	position: relative;
	overflow: visible;
	min-height: 0;
}

.battlefield {
	position: relative;
	width: 100%;
	background-color: #000000;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	flex: 1;
}